package com.sky.blog.dao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sky.blog.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author sky  2022/3/28
 * @version 1.0
 */

@Data
@TableName("blog_category")
@ApiModel(value = "博客帖子")
@EqualsAndHashCode(callSuper = true)
public class BlogCategory extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String title;

    private Integer sort;

    private String code;
}
